[INFO] cloning repository https://github.com/dneumair/ffi_bug
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dneumair/ffi_bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdneumair%2Fffi_bug", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdneumair%2Fffi_bug'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f2fdf000f4b3f880f06ba1b1d604a2ad20343a3f
[INFO] building dneumair/ffi_bug against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdneumair%2Fffi_bug" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dneumair/ffi_bug on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dneumair/ffi_bug
[INFO] finished tweaking git repo https://github.com/dneumair/ffi_bug
[INFO] tweaked toml for git repo https://github.com/dneumair/ffi_bug written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/dneumair/ffi_bug already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e3556f09176312ad55c4f51b5cbbcf2eec743f575cc7341a36c9df7b232b8783
[INFO] running `Command { std: "docker" "start" "-a" "e3556f09176312ad55c4f51b5cbbcf2eec743f575cc7341a36c9df7b232b8783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3556f09176312ad55c4f51b5cbbcf2eec743f575cc7341a36c9df7b232b8783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3556f09176312ad55c4f51b5cbbcf2eec743f575cc7341a36c9df7b232b8783", kill_on_drop: false }`
[INFO] [stdout] e3556f09176312ad55c4f51b5cbbcf2eec743f575cc7341a36c9df7b232b8783
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] dd08aea0fb576caa281c69638914b94aaecf39af8c166ced49873158c1a64222
[INFO] running `Command { std: "docker" "start" "-a" "dd08aea0fb576caa281c69638914b94aaecf39af8c166ced49873158c1a64222", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling bindgen v0.56.0
[INFO] [stderr]    Compiling humantime v2.0.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling libloading v0.6.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling clang-sys v1.0.3
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.8.2
[INFO] [stderr]    Compiling ffi_bug v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `build_script_build`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `build.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffi_bug`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "dd08aea0fb576caa281c69638914b94aaecf39af8c166ced49873158c1a64222", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd08aea0fb576caa281c69638914b94aaecf39af8c166ced49873158c1a64222", kill_on_drop: false }`
[INFO] [stdout] dd08aea0fb576caa281c69638914b94aaecf39af8c166ced49873158c1a64222
